<%@ page language="java" import="java.util.*,com.beans.*" pageEncoding="UTF-8" %>
<html>
<head>
<title>msg</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="javascript">
function checkta(){
	if(msgform.msg.value.length<2){
		alert("禁止灌水，多少写点嘛!");
		return false
	}
	return true;
}
</script>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (index0.psd) -->
<table width="1025" height="901" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
<tr>
		<td colspan="13" rowspan="2">
			<img src="images/index_mess_01.jpg" width="838" height="225" alt=""></td>
		<td colspan="2">
			<img src="images/index_mess_02.jpg" alt="" width="83" height="40" border="0" usemap="#Map2"></td>
<td colspan="3">
			<img src="images/index_mess_03.jpg" alt="" width="75" height="40" border="0" usemap="#Map3"></td>
<td rowspan="24">
			<img src="images/index_mess_04.jpg" width="28" height="900" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="40" alt=""></td>
	</tr>
	<tr>
		<td colspan="5">
			<img src="images/index_mess_05.jpg" width="158" height="185" alt=""></td>
		<td>
			<img src="images/fgfgif" width="1" height="185" alt=""></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="4">
			<img src="images/index_mess_06.jpg" alt="" width="155" height="75" border="0" usemap="#Map4"></td>
<td rowspan="22">
			<img src="images/index_mess_07.jpg" width="30" height="675" alt=""></td>
		<td colspan="2" rowspan="2">
			<img src="images/index_mess_08.jpg" width="97" height="28" alt=""></td>
		<td colspan="3" rowspan="3">
			<img src="images/index_mess_09.jpg" width="313" height="63" alt=""></td>
		<td colspan="2" rowspan="2">
			<img src="images/index_mess_10.jpg" width="84" height="28" alt=""></td>
		<td colspan="5" rowspan="3">
			<img src="images/index_mess_11.jpg" width="263" height="63" alt=""></td>
		<td colspan="2">
			<img src="images/index_mess_12.jpg" alt="" width="54" height="26" border="0" usemap="#Map"></td>
<td>
			<img src="images/fgf.gif" width="1" height="26" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="2">
			<img src="images/index_mess_13.jpg" width="54" height="37" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="2" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="images/index_mess_14.jpg" width="97" height="35" alt=""></td>
		<td colspan="2">
			<img src="images/index_mess_15.jpg" width="84" height="35" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="35" alt=""></td>
	</tr>
	<tr>
		<td rowspan="5">
			<img src="images/index_mess_16.jpg" width="15" height="201" alt=""></td>
		<td colspan="3" rowspan="4" style="font-size:13px" ><%
		  ArrayList<Msgbean> msglist=(ArrayList<Msgbean>)request.getAttribute("msglist");
		  Iterator<Msgbean> it = msglist.iterator();
		  int i=0;
		  while(it.hasNext()){
			  Msgbean msg=(Msgbean)it.next();
			  out.println(msg.getMsg());
			  out.println("<div align=right>"+msg.getUsername()+"--");
			  out.println(msg.getTime()+"</div>");
			  i++;
			  if(i>4)break;
		  }
		%></td>
<td colspan="2" rowspan="8">
			<img src="images/index_mess_19.jpg" width="40" height="245" alt=""></td>
		<td colspan="8" rowspan="4" style="font-size:13px" >
		Hot Topic<br><hr color="red"><marquee direction="up" scrollamount="3" height="100" onmouseover=this.stop() onmouseout=this.start() >
		<%
		  ArrayList<Msgbean> msglist1=(ArrayList<Msgbean>)request.getAttribute("rmsglist");
		  Iterator<Msgbean> it1 = msglist1.iterator();
		  int j=0;
		  while(it1.hasNext()){
			  Msgbean msg=(Msgbean)it1.next();
			  out.println(msg.getMsg()+"--");
			  out.println(msg.getUsername()+"--");
			  out.println(msg.getTime()+"<br>");
			  j++;
			  if(j>8)break;
		  }
		%></marquee></td>
  <td>
			<img src="images/fgf.gif" width="1" height="12" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/index_mess_22.jpg" alt="" width="155" height="72" border="0" usemap="#Map5"></td>
  <td>
			<img src="images/fgf.gif" width="1" height="72" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/index_mess_23.jpg" alt="" width="155" height="71" border="0" usemap="#Map6"></td>
<td>
			<img src="images/fgf.gif" width="1" height="71" alt=""></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="3">
			<img src="images/index_mess_24.jpg" alt="" width="155" height="68" border="0" usemap="#Map7"></td>
<td>
			<img src="images/fgf.gif" width="1" height="14" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/index_mess_25.jpg" width="356" height="32" alt=""></td>
		<td colspan="8" rowspan="4"><img src="images/index_mess_26.jpg" width="400" height="76" alt=""></td>
<td>
			<img src="images/fgf.gif" width="1" height="32" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="2">
			<img src="images/index_mess_27.jpg" width="97" height="28" alt=""></td>
		<td colspan="2" rowspan="3">
			<img src="images/index_mess_28.jpg" width="274" height="44" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="22" alt=""></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="4">
			<img src="images/index_mess_29.jpg" alt="" width="155" height="74" border="0" usemap="#Map8"></td>
<td>
			<img src="images/fgf.gif" width="1" height="6" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
			<img src="images/index_mess_30.jpg" width="97" height="16" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="16" alt=""></td>
	</tr>
	<tr>
		<td rowspan="11">
			<img src="images/index_mess_31.jpg" width="15" height="367" alt=""></td>
		<td colspan="12" background="images/index_mess_32.jpg"><table width="795" height="23" border="0" cellspacing="0">
          <tr>
            <th scope="col"></th>
          </tr>
        </table></td>
<td rowspan="9">
			<img src="images/index_mess_33.jpg" width="1" height="253" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="23" alt=""></td>
	</tr>
	<tr>
		<td colspan="12" rowspan="8" background="images/index_mess_34.jpg" align="left">
        
        <table width="795" height="230" border="0" cellspacing="0">
          <tr>
            <th scope="col"><form name="msgform" method="post" action="/vk/deal?deal=addmsg">
              <label>
              <textarea name="msg" cols="70" rows="8" id="msg"></textarea>
              </label>
<p>
                                                  <input name="submit2" type="submit" value="提交">
&nbsp;
<input name="reset2" type="reset" value="重置">
              </p>
            </form>
            <p>&nbsp;</p>            </th>
          </tr>
      </table></td>
<td>
			<img src="images/fgf.gif" width="1" height="29" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/index_mess_35.jpg" width="155" height="53" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="53" alt=""></td>
	</tr>
	<tr>
		<td rowspan="8">
			<img src="images/index_mess_36.jpg" width="27" height="262" alt=""></td>
		<td>
			<img src="images/index_mess_37.jpg" alt="" width="93" height="45" border="0" usemap="#Map9"></td>
		<td rowspan="8">
			<img src="images/index_mess_38.jpg" width="35" height="262" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="45" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/index_mess_39.jpg" alt="" width="93" height="45" border="0" usemap="#Map10"></td>
		<td>
			<img src="images/fgf.gif" width="1" height="45" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/index_mess_40.jpg" width="93" height="7" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="7" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/index_mess_41.jpg" alt="" width="93" height="40" border="0" usemap="#Map11"></td>
		<td>
			<img src="images/fgf.gif" width="1" height="40" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/index_mess_42.jpg" width="93" height="9" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="9" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="images/index_mess_43.jpg" alt="" width="93" height="40" border="0" usemap="#Map12"></td>
		<td>
			<img src="images/fgf.gif" width="1" height="2" alt=""></td>
	</tr>
	<tr>
		<td colspan="13"><table width="581" height="38" border="0" cellspacing="0">
          <tr>          </tr>
        </table>		  </td>
<td>
			<img src="images/fgf.gif" width="1" height="38" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/index_mess_46.jpg" width="93" height="76" alt=""></td>
		<td colspan="13"><img src="images/index_mess_47.jpg" width="796" height="76" alt=""></td>
<td>
			<img src="images/fgf.gif" width="1" height="76" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/fgf.gif" width="27" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="93" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="35" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="30" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="15" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="82" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="187" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="87" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="39" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="83" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="102" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="57" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="69" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="14" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="21" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="53" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="images/fgf.gif" width="28" height="1" alt=""></td>
		<td></td>
	</tr>
</table>   
<!-- End ImageReady Slices -->

<map name="Map">
			<area shape="rect" coords="1,1,54,29"
				href="/vk/deal?deal=allmsg&pageno=1" target="_self">
		</map>
<map name="Map2"><area shape="rect" coords="9,2,90,44" href="regist.jsp">
</map>

<map name="Map3">
  <area shape="rect" coords="5,2,85,43" href="login.jsp">
</map>
<map name="Map4">
<area shape="rect" coords="2,2,160,77" href="index.jsp" target="_self">
</map>
<map name="Map5"><area shape="rect" coords="2,3,167,90" href="index_nv.jsp" target="_self">
</map>
<map name="Map6">
<area shape="rect" coords="2,0,174,76" href="index_nan.jsp" target="_self">
</map>
<map name="Map7">
<area shape="rect" coords="1,3,166,79" href="index_lx.jsp" target="_self">
</map>
<map name="Map8"><area shape="rect" coords="3,3,164,83" href="#" target="_self">
</map>
<map name="Map9">
<area shape="rect" coords="0,-1,100,50" href="http://www.10010.com" target="_blank">
</map>
<map name="Map10">
<area shape="rect" coords="1,1,114,57" href="http://www.chinamobile.com/" target="_blank">
</map>
<map name="Map11"><area shape="rect" coords="1,2,120,52" href="http://www.rayli.com.cn/" target="_blank">
</map>
<map name="Map12">
<area shape="rect" coords="3,3,115,61" href="http://www.ct10000.com/" target="_blank">
</map></body>
</html>